//
//  WYHomeRecommendCell.m
//  CirclePush
//
//  Created by admin on 2018/4/12.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYHomeRecommendCell.h"
#import "WYRecommendController.h"
@interface WYHomeRecommendCell()

@property (nonatomic,strong)WYRecommendController *rmdVC;

@end
@implementation WYHomeRecommendCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self configView];
    
    }
    return self;
}
-(void)configView
{
    self.rmdVC = [[WYRecommendController alloc]init];
    
    [self addSubview:self.rmdVC.view];
    
    self.rmdVC.view.frame = CGRectMake(0, 0, kScreenWidth, kScreenHeight-64);
    
    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
